#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import subprocess
import mxnet as mx
import numpy as np
import matplotlib.pyplot as plt


# change this to your mxnet location
MXNET_HOME = '/scratch/mxnet'

#os.system('wget http://www.vision.caltech.edu/Image_Datasets/Caltech101/101_ObjectCategories.tar.gz -P data/')
os.chdir('data')
os.system('tar -xf 101_ObjectCategories.tar.gz')
#os.chdir('../')
#
#os.system('python %s/tools/im2rec.py --list=1 --recursive=1 --shuffle=1 --test-ratio=0.2 data/caltech data/101_ObjectCategories'\
#%MXNET_HOME)
